package cn.oms.drugknowledge.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("drug_side_effect")
@ApiModel(value="DrugSideEffect对象", description="")
public class DrugSideEffect implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID（新增自增）(UUID)")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "药品CODE（对应药品信息表）")
    @TableField("DRUG_CODE")
    private String drugCode;

    @ApiModelProperty(value = "副作用CODE（对应不良反应表）")
    @TableField("UNTOWARD_EFFECT_CODE")
    private String untowardEffectCode;

    @ApiModelProperty(value = "副作用名称（中文）")
    @TableField("UNTOWARD_EFFECT_NAME_CN")
    private String untowardEffectNameCn;

    @ApiModelProperty(value = "副作用名称（英文）")
    @TableField("UNTOWARD_EFFECT_NAME_EN")
    private String untowardEffectNameEn;

    @ApiModelProperty(value = "副作用表现（中文）")
    @TableField("PERFORMANCE_CN")
    private String performanceCn;

    @ApiModelProperty(value = "副作用表现（英文）")
    @TableField("PERFORMANCE_EN")
    private String performanceEn;

    @ApiModelProperty(value = "其他备注")
    @TableField("OTHER_REMARK")
    private String otherRemark;

    @ApiModelProperty(value = "创建人ID")
    @TableField("CREATE_MAN_CODE")
    private String createManCode;

    @ApiModelProperty(value = "创建人姓名")
    @TableField("CREATE_MAN_NAME")
    private String createManName;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
